package com.mit.web.business.proxy
{
	import com.mit.web.business.remote.BaseService;
	import com.mit.web.config.Constants;
	
	public class FinanceProxy extends BaseService
	{
		private static var me:FinanceProxy;

		
		public function FinanceProxy(destination:String)
		{
			super(Constants.REMOTE_OBJECT_FINANCE);
			if(me != null)
				throw new Error("Only one instance of this class is allowed, use getInstance() insteadof the constructor.");

		}
		
		public static function getInstance():FinanceProxy{
			if(me == null)
				me = new FinanceProxy();
			return me;
		} 
		
	}
}